import request from '@/utils/request'

// 查询付款单明细列表
export function listAdvicePaymentDetail(query) {
  return request({
    url: '/payfee/advicePaymentDetail/list',
    method: 'get',
    params: query
  })
}

// 查询付款单明细详细
export function getAdvicePaymentDetail(id) {
  return request({
    url: '/payfee/advicePaymentDetail/' + id,
    method: 'get'
  })
}

// 新增付款单明细
export function addAdvicePaymentDetail(data) {
  return request({
    url: '/payfee/advicePaymentDetail',
    method: 'post',
    data: data
  })
}

// 修改付款单明细
export function updateAdvicePaymentDetail(data) {
  return request({
    url: '/payfee/advicePaymentDetail',
    method: 'put',
    data: data
  })
}

// 删除付款单明细
export function delAdvicePaymentDetail(id) {
  return request({
    url: '/payfee/advicePaymentDetail/' + id,
    method: 'delete'
  })
}

// 导出付款单明细
export function exportAdvicePaymentDetail(query) {
  return request({
    url: '/payfee/advicePaymentDetail/export',
    method: 'get',
    params: query
  })
}